#ifndef PGEXTENSION_INFO
#define PGEXTENSION_INFO

#include <QString>
#include <QQmlComponent>
#include <QQmlApplicationEngine>

struct PluginInfo
{
    QString         m_name;     // 模块的名字
    QQmlComponent*  m_subWin;   // 子界面控件
    QQmlComponent*  m_chiBtn;   // 按钮控件
};

typedef PluginInfo* (*GetPluginInfo)(QQmlApplicationEngine*);
typedef void (*ReleasePluginInfo)();

#endif // PGEXTENSION_INFO
